<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/hdocs/style/css/topic.css" type="text/css" rel="stylesheet" />
<link href="/hdocs/style/css/common.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/hdocs/jquery/js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="/hdocs/style/js/common.js"></script>
<script type="text/javascript" src="/hdocs/style/js/topic.js"></script>
<title>主题-全部文章</title>
</head>
<body>
      #set ($menuIndex="topic") #parse("/inc/header.html")
      <p class="cenTabx">
               <a href="/topic/subjects.jsp" class="tabcx">全部主题</a>
               <a href="/topic/articles.jsp" class="tabdx">全部文章</a>
      </p>
      <div class="centent">
            <div class="cenLe">
            	  #foreach( $article in $articles)
                  <div class="allTex">
                       <em class="atImg"><img src="$!article.images[0]"/></em>
                       <div class="atMri">
                            <a href="/topic/article.jsp?id=$!article.id" class="mria">$!article.title</a>
                            <p class="mrib"><a href="/user/index.jsp?accountid=$!article.accountid">$!article.username</a> 发表于 $!article.publishdate</p>
                            <p class="h10"></p>
                            <p class="mric">
                            	$!article.introduction<a href="/topic/article.jsp?id=$!article.id">（查看全文）</a> 
                            </p>
                            <div class="mrid">
                                 <p class="from">来自：<a href="#">$!article.subjectTitle</a></p>
                                 <div class="fLook">
                                      <a href="/topic/article.jsp?id=$!article.id" class="tdMax"><em class="spMax"></em><span class="sptxx">阅读</span><span class="sptyx">$!article.views</span></a>
                                      <a href="/topic/article.jsp?id=$!article.id" class="tdMax"><em class="spMax"></em><span class="sptxx">评论</span><span class="sptyx">$!article.comments</span></a>
                                      <a href="#" class="tdMax qopd"><em class="spMbx"></em><span class="sptxx">推荐</span><span class="sptyx">$!article.recommends</span></a>
                                 </div>
                            </div>
                       </div>
                  </div>
                  #end
                  <p class="h10"></p>
                  <p class="h10"></p>
                  <p class="h10"></p>
                  <p class="h10"></p>
                  #set ($requestURL="/topic/articles.jsp?dataType=all")
                  #parse("/inc/pageControl.html")
           </div>
           <div class="cenRi">
                 <p class="h10"></p>
                 <p class="h10"></p>
                 <p class="newFshx">热门文章&nbsp;&nbsp;<a href="/topic/articles.jsp">(更多)</a></p>
                 #foreach( $article in $hotArticles)
                 <div class="xgBoxa">
                       <div class="xgaRi">
                             <a href="/topic/article.jsp?id=$!article.id" class="xgria">$!article.title</a>
                             <p class="layfg"><span>$!article.views次阅读</span><em>|</em><span class="">$!article.comments篇文章</span></p>
                             <p class="layfj">来自:<a href="#">$!article.subjectTitle</a>主站站</p>
                       </div>
                 </div>
                 #end
            </div>
           
      </div>
      #parse("/inc/footer.html")
</body>
</html>
